package com.ferry.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
*  wall
* @author 摆渡人 2020-12-10
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName(value = "WALL")
public class Wall implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 壁纸id
    */
    @TableId(value = "WALL_ID",type = IdType.ASSIGN_ID)
    private Long wallId;

    /**
    * 壁纸类型id
    */
    @TableField(value = "WALL_TYPE_ID")
    private Long wallTypeId;

    /**
    * 壁纸分类名称
    */
    @TableField(value = "WALL_TYPE_NAME")
    private String wallTypeName;

    /**
    * 壁纸名称
    */
    @TableField(value = "WALL_NAME")
    private String wallName;

    @TableField(value = "WALL_PRICE")
    private Integer wallPrice;

    /**
    * 壁纸上传时间
    */
    @TableField(value = "WALL_TIME")
    private Date wallTime;

    /**
    * 壁纸文件大小
    */
    @TableField(value = "WALL_SIZE")
    private Long wallSize;

    /**
    * 壁纸宽
    */
    @TableField(value = "WALL_WIDTH")
    private Integer wallWidth;

    /**
    * 壁纸高
    */
    @TableField(value = "WALL_HEIGHT")
    private Integer wallHeight;

    /**
    * 文件保存路径
    */
    @TableField(value = "WALL_PATH")
    private String wallPath;

    /**
    * 文件缩略图路径
    */
    @TableField(value = "WALL_SMALL_PATH")
    private String wallSmallPath;

    /**
     * 带水印的图片
     */
    @TableField(value = "WALL_BQ_PATH")
    private String wallBQPath;

    /**
    * 壁纸排名
    */
    @TableField(value = "WALL_SORT")
    private Long wallSort;
}
